package com.crm.model.pojo;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the xiangrds database table.
 * 
 */
@Entity
@Table(name="xiangrds")
@NamedQuery(name="Xiangrd.findAll", query="SELECT x FROM Xiangrd x")
public class Xiangrd implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String rdsid;

	private String rdsagcondition;

	private byte rdsdelete;

	private String rdserrordes;

	private String rdsmop;

	private String rdsmpsn;

	private String rdsnotes;

	private byte rdstws;

	//bi-directional many-to-one association to Product
	@ManyToOne
	@JoinColumn(name="rdsmp")
	private Product product;

	public Xiangrd() {
	}

	public String getRdsid() {
		return this.rdsid;
	}

	public void setRdsid(String rdsid) {
		this.rdsid = rdsid;
	}

	public String getRdsagcondition() {
		return this.rdsagcondition;
	}

	public void setRdsagcondition(String rdsagcondition) {
		this.rdsagcondition = rdsagcondition;
	}

	public byte getRdsdelete() {
		return this.rdsdelete;
	}

	public void setRdsdelete(byte rdsdelete) {
		this.rdsdelete = rdsdelete;
	}

	public String getRdserrordes() {
		return this.rdserrordes;
	}

	public void setRdserrordes(String rdserrordes) {
		this.rdserrordes = rdserrordes;
	}

	public String getRdsmop() {
		return this.rdsmop;
	}

	public void setRdsmop(String rdsmop) {
		this.rdsmop = rdsmop;
	}

	public String getRdsmpsn() {
		return this.rdsmpsn;
	}

	public void setRdsmpsn(String rdsmpsn) {
		this.rdsmpsn = rdsmpsn;
	}

	public String getRdsnotes() {
		return this.rdsnotes;
	}

	public void setRdsnotes(String rdsnotes) {
		this.rdsnotes = rdsnotes;
	}

	public byte getRdstws() {
		return this.rdstws;
	}

	public void setRdstws(byte rdstws) {
		this.rdstws = rdstws;
	}

	public Product getProduct() {
		return this.product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

}